package com.bootdo.friendcircle.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.friendcircle.dao.MessagePicDao;
import com.bootdo.friendcircle.domain.MessagePicDO;
import com.bootdo.friendcircle.service.MessagePicService;



@Service
public class MessagePicServiceImpl implements MessagePicService {
	@Autowired
	private MessagePicDao messagePicDao;
	
	@Override
	public MessagePicDO get(Integer id){
		return messagePicDao.get(id);
	}
	
	@Override
	public List<MessagePicDO> list(Map<String, Object> map){
		return messagePicDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return messagePicDao.count(map);
	}
	
	@Override
	public int save(MessagePicDO messagePic){
		return messagePicDao.save(messagePic);
	}
	
	@Override
	public int update(MessagePicDO messagePic){
		return messagePicDao.update(messagePic);
	}
	
	@Override
	public int remove(Integer id){
		return messagePicDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return messagePicDao.batchRemove(ids);
	}

	@Override
	public MessagePicDO getMessagePicDO(Integer id) {
		return messagePicDao.getMessagePicDO(id);
	}
	
}
